﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Windows;

namespace HAContourF
{
    public static class PointExtensions
    {
        public static Vector ToVector(this Point pt)
        {
            return new Vector(pt.X, pt.Y);
        }

        public static bool IsFinite(this Point pt)
        {
            return pt.X.IsFinite() && pt.Y.IsFinite();
        }
    }
}
